QuickOPC User's Guide and Reference
Create<TValue>(UAAttributeArguments) Method



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.Reactive Namespace > UAWriteValueObserver Class > Create Method : Create<TValue>(UAAttributeArguments) Method
Holds all arguments needed to specify a node together with its attribute in an OPC-UA server.
Creates a new observer that writes values into an OPC node given by OpcLabs.EasyOpc.UA.OperationModel.UAAttributeArguments object.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Overloads Shared Function Create(Of TValue)( _
   ByVal attributeArguments As UAAttributeArguments _
) As UAWriteValueObserver(Of TValue)
'Usage
 
Dim attributeArguments As UAAttributeArguments
Dim value As UAWriteValueObserver(Of TValue)
 
value = UAWriteValueObserver.Create(Of TValue)(attributeArguments)
[NotNull()]
public:
static UAWriteValueObserver<TValue^>^ Creategeneric<typename TValue>
( 
   UAAttributeArguments^ attributeArguments
) 

Parameters

attributeArguments
Holds all arguments needed to specify a node together with its attribute in an OPC-UA server.

Type Parameters

TValue

Return Value

Returns an observer that writes values into the given OPC node.
Remarks
The UAReactive.DefaultClientSelector selector will be used for OPC Unified Architecture operations.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also